<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ page import="stu2.arrayliststu,stu2.arraylists,stu1.arraylist,java.util.List"%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>显示学生对象</title>
</head>
<body>
<table width="70%" boder="0" cellspacing="1" cellpadding="1" align="center" bgcolor="#000">
<tr>
<td bgcolor="#FFFFFF">学号</td>
<td bgcolor="#FFFFFF">姓名</td>
<td bgcolor="#FFFFFF">性别</td>
<td bgcolor="#FFFFFF">班级</td>
<td bgcolor="#FFFFFF">成绩</td>
</tr>
<%
	arrayliststu arrService = new arraylists();
	List<arraylist> arrayli =arrService.getAllarrays();
	
	for(arraylist i:arrayli){ %>
<tr bgcolor="#FFFFFF">

<td><%=i.getNum()%></td>
<td><%=i.getName()%></td>
<td><%=i.getSex()%></td>
<td><%=i.getCla()%></td>
<td><%=i.getSore()%></td>
</tr>
<%} %>
</table>

</body>
</html>